/* pages/pageMultiMedia/pageAlarmClock/pageAlarmClock.wxss */
page {
    background: #f0f9ff;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
}

.container { 
    padding: 0; 
    background: #f0f9ff; 
    min-height: 100vh;
}

.content { 
    padding: 12px; 
}

.section { 
    margin: 12px 0; 
    background: #fff; 
    border-radius: 10px; 
    padding: 12px; 
    box-shadow: 0 8rpx 24rpx rgba(37,99,235,.06); 
}

.section-title { 
    font-size: 16px; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: #333;
}

.alarm-list-scroll {
    height: 800rpx;
    max-height: 800rpx;
}

.alarm-list-contain {
    padding: 0;
}

/* 操作卡片样式 */
.operation-card { 
    background: #eef5ff; 
    padding: 16px; 
    border-radius: 8px; 
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 8px;
}

.card-title { 
    font-size: 18px; 
    font-weight: 700; 
    color: #333;
}

.card-icon {
    font-size: 24px;
}

.card-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.action-btn {
    background: #2563eb;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.action-btn:active {
    background: #1d4ed8;
    transform: scale(0.98);
}

.btn-text {
    font-size: 16px;
    font-weight: 600;
}

/* 云端同步卡片样式 */
.sync-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    margin-top: 12px;
}

.sync-card .card-header .card-title {
    color: #0369a1;
}

.sync-card .card-description {
    color: #0c4a6e;
}

.sync-btn {
    background: #0891b2;
    transition: all 0.2s ease;
}

.sync-btn:active {
    background: #0e7490;
    transform: scale(0.98);
}

.item-alarm {
    margin: 0 0 12px 0;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 8rpx 24rpx rgba(37,99,235,.06);
    transition: all 0.2s ease;
    min-height: 160rpx;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.item-alarm:first-child {
    margin-top: 0;
}

.item-alarm:active {
    transform: scale(0.98);
    box-shadow: 0 4rpx 12rpx rgba(37,99,235,.1);
    background: #f8fafc;
}

.item-alarm:active .delete-btn {
    opacity: 1;
    transform: scale(1);
}

.item-alarm .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.item-alarm .top .text-sel {
    font-size: 64rpx;
    font-weight: 300;
    color: #333;
    letter-spacing: 2rpx;
    line-height: 1;
}

.item-alarm .top .text-nol {
    font-size: 64rpx;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.3);
    letter-spacing: 2rpx;
    line-height: 1;
}

.onOff {
    display: flex;
    align-items: center;
    margin-top: 60rpx;
}

.item-alarm .bottom {
    display: flex;
    align-items: center;
    font-size: 28rpx;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
}

.item-alarm .bottom::before {
    content: '';
    width: 8rpx;
    height: 8rpx;
    background: #2563eb;
    border-radius: 50%;
    margin-right: 12rpx;
    flex-shrink: 0;
}

/* 删除按钮样式 */
.delete-btn {
    position: absolute;
    top: 10rpx;
    right: 10rpx;
    width: 80rpx;
    height: 60rpx;
    background: rgba(220, 38, 38, 0.15);
    border-radius: 30rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
    z-index: 10;
    padding: 0 12rpx;
}

.item-alarm:hover .delete-btn,
.item-alarm:active .delete-btn {
    opacity: 1;
    transform: scale(1);
}

.delete-btn:active {
    background: rgba(220, 38, 38, 0.25);
    transform: scale(0.9);
    box-shadow: 0 4rpx 12rpx rgba(220, 38, 38, 0.3);
}

.delete-btn:active .delete-text {
    opacity: 1;
    transform: scale(1.05);
}

.delete-text {
    font-size: 20rpx;
    color: #dc2626;
    font-weight: 600;
    transition: all 0.2s ease;
    opacity: 0.9;
}

/* 自定义switch样式 */
switch {
    transform: scale(0.8);
}

/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300rpx;
    opacity: 0.6;
    margin: 0 0 12px 0;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
}

.empty-icon {
    width: 80rpx;
    height: 80rpx;
    margin-bottom: 16rpx;
    opacity: 0.5;
}

.empty-text {
    font-size: 28rpx;
    color: #666;
    font-weight: 500;
}